﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HangzhouChipProject.Models
{
    public class Wafers
    {
        public string Id { get; set; }
        public int AllRow { get; set; }
        public int AllColumn { get; set; }
        public string BasePath { get; set; }
        public List<OneWafer> wafers { get; set; }
    }

    public class OneWafer
    {
        public int Row { get; set; }
        public int Column { get; set; }
        public int Status { get; set; } // 0:ok 1:ng
        public List<Ng> Ngs { get; set; }
        public string ImgPath { get; set; }
    }
    /// <summary>
    /// 单个缺陷信息
    /// </summary>
    public class Ng
    {
        public string NgType { get; set; }
        public Rectangle rect { get; set; } // 位置信息
    }
}
